package br.ufc.great.dtxtester;

import java.util.Vector;

public class Operation {

	public static final int QUERY = 0;
	public static final int INSERT = 1;
	public static final int DELETE = 2;
	
	private Vector<Site> sites;
	private int type;
	private String fileName;
	private String id;
	
	public Operation(Vector<Site> sites, int type, String fileName, String id) {
		this.sites = sites;
		this.type = type;
		this.fileName = fileName;
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Vector<Site> getSites() {
		return sites;
	}

	public void setSites(Vector<Site> sites) {
		this.sites = sites;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
		
}
